﻿<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="../Public/js/html5.js"></script>
<script type="text/javascript" src="../Public/js/respond.min.js"></script>
<script type="text/javascript" src="../Public/js/PIE_IE678.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="../Public/css/H-ui.css"/>
<link type="text/css" rel="stylesheet" href="../Public/css/H-ui.admin.css"/>
<link type="text/css" rel="stylesheet" href="../Public/font/font-awesome.min.css"/>
<!--[if IE 7]>
<link href="../Public/font/font-awesome-ie7.min.css" rel="stylesheet" type="text/css" />
<![endif]-->

<title>权限管理</title>
</head>
<body>
<style>
.current{padding: 4px 11px;background:#18BC9C ;color: #fff; border: 1px solid #e5e5e5; font-size: 15px }
.num{ background: ; color: #009f8f;padding: 4px 11px;border: 1px solid #e5e5e5; font-size: 15px   }
.prev{border: 1px solid #e5e5e5; background: ;  color: #009f8f; font-size: 15px;padding: 4px 11px;}
.next{ border: 1px solid #e5e5e5; background: ; color: #009f8f; font-size: 15px;padding: 4px 11px; }

.ddd{border: 1px solid #e5e5e5; color:#009f8f;padding: 4px 11px;font-size: 15px}

.table a:hover{ text-decoration:none; }
</style>
<nav class="Hui-breadcrumb"><i class="icon-home"></i> 首页 <span class="c-gray en">&gt;</span> 商品管理 <span class="c-gray en">&gt;</span> 商品列表 <a class="btn btn-success radius r mr-20" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="icon-refresh"></i></a></nav>
<div class="pd-20">

 <form action="{:U('Admin/Hotnew/del')}" method="POST">
    
   <div class="panel panel-primary radius">
    <div class="panel-header">
    <span class="l"> <a href="#" class="btn btn-danger radius"><i class="icon-trash"></i> 批量删除</a></span>
   &nbsp;&nbsp;    <!-- <a href="{:u('Admin/Hotnew/addList')}"  class="btn btn-primary radius"><i class="icon-plus"></i>  添加风格分类</a>  &nbsp;&nbsp;    <a href="{:u('Admin/Hotnew/addhuxing')}"  class="btn btn-primary radius"><i class="icon-plus"></i>  添加户型分类</a>  -->
	  <a href="{:u('Admin/Hotnew/addAdmin')}"  class="btn btn-success radius"><i class="icon-plus"></i>  添加商品</a>
  <span class="r c-black">共有数据：<strong>{:$pageCount}</strong> 条</span>
  </div>
  </div>
	 <div class="panel-body">
  <table  class="table table-border table-bordered  radius table-striped table-hover"  width="100%">
    <thead>
  
      <tr class="text-c">
        <th width="31" align="center"><input type="checkbox" name="" value=""></th>
        <th width="50" align="center">ID</th>
     
        <th width="300" align="center">图片</th>
        <th width="100" align="center">名称</th>
<!--         <th width="100" align="center">金重</th>
        <th width="100" align="center">规格</th>
        <th width="100" align="center">颜色</th> -->
    <th width="300" align="center">发布时间</th>
 
        <th width="87" align="center">操作</th>
      </tr>
    </thead>
    <tbody>
   <volist name="list" id="vo">
      <tr class="text-c">
        <td align="center"><input type="checkbox" value="{$vo.id}" id="id" name="id[]"></td>
        <td align="center">{$vo.id}</td>
        <td align="center"><img style="height:40px;width:140px;" src="Uploads/{$vo.img}"></td>
        <td align="center">{$vo.name}</td>
 <!--        <td align="center">{$vo.huxing}</td>
        <td align="center">{$vo.username}</td>
        <td align="center">{$vo.area}</td> -->
        <td align="center">{$vo.addtime|date="Y-m-d H:i:s",###}</td>
        <td align="center" class="f-14 admin-manage"><a title="编辑" href="{:u('Admin/Hotnew/edit',array('id'=>$vo['id']))}"  class="ml-5" style="text-decoration:none"><i class="icon-edit"></i></a> </td>
      </tr>
    </volist>
    </tbody>
  </table>
 <div id="pageNav" class="pageNav"> {$page}</div>
</div>
</form>
<script type="text/javascript" src="../Public/js/jquery.min.js"></script>
<script type="text/javascript" src="../Public/layer/layer.min.js"></script>
<script type="text/javascript" src="../Public/js/jquery.form.js"></script>
<script type="text/javascript" src="../Public/js/H-ui.admin.js"></script>  
<script type="text/javascript">


$(function(){

	$(".l").click(function(){
	   layer.confirm('确认要删除吗？',function(index){
	   $("form").submit();
	  
	  });

  });
});

</script>


</body>
</html>